function  tampilpopover() {
    $('#divskpd').popover({
        trigger: "hover",
        placement: "top",
        delay: {hide: 800},
        title: "Data Detail SKPD",
        html: true,
        content: function() {
            return $('#popover_skpd').html();
        }
    });
    $('#divpegawai').popover({
        trigger: "hover",
        placement: "top",
        delay: {hide: 800},
        title: "Data Detail Pegawai",
        html: true,
        content: function() {
            return $('#popover_personil').html();
        }
    });
}
function gettotalskpd(urljson, target) {
    $.getJSON(urljson, function(data) {
        $("#" + target).html(data);
    });
}

function grafikkomposisijenisjabatan(urljson, target) {
    $.getJSON(urljson, function(hasil) {
        $('#' + target).highcharts({
            chart: {
                plotBackgroundColor: null,
                plotBorderWidth: null,
                plotShadow: false
            },
            title: {
                text: ''
            },
            tooltip: {
                pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
            },
            plotOptions: {
                pie: {
                    allowPointSelect: true,
                    cursor: 'pointer',
                    dataLabels: {
                        enabled: true,
                        color: '#000000',
                        connectorColor: '#000000',
                        format: '<b>{point.name}</b>: {point.percentage:.1f} %'
                    }
                }
            },
            series: [hasil]
        });
    });
}

